package com.rlyy.rsj;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.scheduling.annotation.EnableScheduling;
import rsj.annotation.MyScanner;

@EnableScheduling
@MyScanner(basePackages = "com.rlyy.rsj.dao")
@ComponentScans(value = {@ComponentScan("com.rlyy.rsj.dao")})
@SpringBootApplication
public class RsjJobApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(RsjJobApplication.class).web(WebApplicationType.NONE).run(args);
    }

}
